<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
	xmlns:o="http://omnifaces.org/ui"
	  xmlns:composition="http://java.sun.com/jsf/composite"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<composition:interface></composition:interface>
<composition:implementation>
<h:form  id="tempmsgs" name="tempmsgs" method="post" enctype="application/x-www-form-urlencoded" styleClass="form-horizontal">
	<div id="panelbox container-fluid" >
		<div id="panelbody" class="span12">
			<h:messages  errorClass="text-error" globalOnly="true" id="messages"></h:messages>
			<h:panelGroup layout="block" id="msgs">
				<table>
					<thead>
						<tr>
							<th></th>
							<th><h:outputText value="Text"></h:outputText></th>
						</tr>
					</thead>
					<tbody>
						<ui:repeat var="key" value="#{i18NMsg.tempKeys}">
							<tr>
								<td>
									<h:commandLink styleClass="btn" id="persistKey" actionListener="#{i18NMsg.persistTempKey(key)}">
										<f:ajax execute="@this" render=":tempmsgs:msgs :tempmsgs:messages" ></f:ajax>
										<i class="icon icon-save"></i>
									</h:commandLink>
								</td>
								<td>
									<h:outputText value="#{key}"></h:outputText>
								</td>
							</tr>
						</ui:repeat>
					</tbody>
				
				
				</table>
			
			</h:panelGroup>
		</div>
	</div>
</h:form>
</composition:implementation>
</html>

